# $Id: PKGBUILD 84834 2013-02-25 10:37:28Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jens Adam (byte/jra) <j_adam@web.de>

pkgname=fpc-src
pkgver=2.6.2
pkgrel=1
pkgdesc='Sources for the FreePascal compiler (required by the Lazarus IDE)'
url='http://www.freepascal.org/'
license=('GPL')
arch=('any')
options=('!strip')
source=(ftp://ftp.freepascal.org/pub/fpc/dist/$pkgver/source/fpcbuild-$pkgver.tar.gz)
md5sums=('89c7e60db6280f3d5cc006a4a9ff43a9')

package() {
  cd $srcdir/fpcbuild-$pkgver/fpcsrc
  mkdir -p $pkgdir/usr/lib/fpc/src
  cp -R . $pkgdir/usr/lib/fpc/src
}
